package com.itheima.health.service;

import com.itheima.health.pojo.Order;

import java.util.List;
import java.util.Map;

/**
 * 预约Service
 */
public interface OrderService {
    public List<Map<String, Object>> findSetmealCount();
    List<Map<String, Object>> countBySetmeal();

    void findOrderDetail(String name);

    Order add(Order order);
    /**
     * 根据ID查询
     * @param id
     * @return
     */
    Order findById(Integer id);

}
